package cn.kgc.client;

import cn.kgc.commons.vo.Result;
import cn.kgc.dto.add.SmsSpuAddDTO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: 石浩杰
 * @date: 2022-12-06 09:59
 */
@Component
@Slf4j
public class SmsSpuFeignClientImpl implements SmsSpuFeignClient {
    @Override
    public Result saveSmsSpu(SmsSpuAddDTO smsSpuAddDTO) {
        log.error("新增商品活动失败");
        return Result.error(null,"https://mall_sms/sms/spu/save",500,"新增商品活动失败,服务降级");
    }
}
